gdkdrop-x11: Fix preferred action
authorCorey Berla <corey@berla.me>
Sat, 16 Jul 2022 20:01:31 +0000 (13:01 -0700)
committerCorey Berla <corey@berla.me>
Sat, 16 Jul 2022 20:42:58 +0000 (13:42 -0700)
commitc9c48d78bf0032b2ba3b68c3aa1b150239c9fc0d
tree91c73b85ed9ca689e454bbbcf27f020921f4bdac
parent188cb49b44bc7426290fc8c0c8fd68de37b7423b
gdkdrop-x11: Fix preferred action

gdk_x11_drop_update_actions() sets actions to
drop_x11->suggested_action when !drop_x11->xdnd_have_actions
and then sets it again to drop_x11->suggested_action if it is.
If xdnd_have_actions is true use xdnd_actions.
gdk/x11/gdkdrop-x11.c